package Thread;

public class demo6 {
    public static void main(String[] args) throws InterruptedException{
        Thread t = new Thread(() -> {

        });
        t.start();
        System.out.println(t.getState());


        Thread.sleep(2000);
        System.out.println(t.getState());
    }
}
